projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f64c277
)
; bookmark-jump: Add comment about last change.
author
Noam Postavsky
<npostavs@gmail.com>
Tue, 24 Jul 2018 22:45:43 +0000
(18:45 -0400)
committer
Noam Postavsky
<npostavs@gmail.com>
Wed, 25 Jul 2018 00:13:55 +0000
(20:13 -0400)
lisp/bookmark.el
patch
|
blob
|
history
diff --git
a/lisp/bookmark.el
b/lisp/bookmark.el
index 9299ab8850ff96cdb6b1a1ecf0734b8ea271045d..464324cea0126598890ec64e2b1682e66ab174e9 100644
(file)
--- a/
lisp/bookmark.el
+++ b/
lisp/bookmark.el
@@
-1110,6
+1110,9
@@
DISPLAY-FUNC would be `switch-to-buffer-other-window'."
(unless bookmark
(error "No bookmark specified"))
(bookmark-maybe-historicize-string bookmark)
+ ;; Don't use `switch-to-buffer' because it would let the
+ ;; window-point override the bookmark's point when
+ ;; `switch-to-buffer-preserve-window-point' is non-nil.
(bookmark--jump-via bookmark (or display-func 'pop-to-buffer-same-window)))